import Vue from "vue";
import Vuex from "vuex";


Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    searchFlag: false,
    drawer: false,
    blogInfo: {}
  },
  mutations: {
    checkBlogInfo(state, blogInfo) {
      state.blogInfo = blogInfo;
    }
  },
  actions: {},
  modules: {},
});
